package com.example.lyxxx.music;

/**
 * 音乐的bean
 * 用于存储音乐的集合
 */

public class MusicBean {
    private String number;//歌曲的编码--自定义属性
    private String song;//歌曲
    private String singer;//歌手
    private String time;//歌曲转换格式以后的时间
    private String path;//歌曲路径
    private int duration;//歌曲长度
    private long size;//歌曲大小



    public MusicBean(String singer, String song, String path, int duration, long size) {
        this.singer = singer;
        this.song = song;
        this.path = path;
        this.duration = duration;
        this.size = size;
    }

    public void setSinger(String singer) {
        this.singer = singer;
    }

    public void setSong(String song) {
        this.song = song;
    }

    public long getSize() {
        return size;
    }

    public int getDuration() {
        return duration;
    }

    public String getNumber() {
        return number;
    }

    public String getPath() {
        return path;
    }

    public String getSinger() {
        return singer;
    }

    public String getSong() {
        return song;
    }

    public String getTime() {
        return time;
    }
}

